Boolean functions can be used to merge layers, create layers, cut holes in layers. An example would be automatic VIA layer generation.