Boolean operations: AND
          0             0 0
          0             1            0
          1                  0                     0
          1           1       1

Maplayer 1
Cell value
Maplayer 2
Cell value
Output layer
Cell value