like bool a[2,2]=[[0,0],[1,1],[0,0]] a=table ... bool b=1 a OR b ans=... a AND b ans=... a XOR b ans=...
etc