[[https://en.wikipedia.org/wiki/Bitwise_operation|Bitwise operators]] can be achieved in TOOL.
If ''a[dims]'' and ''b[dims]'' are integer objects with value 0 or 1 (i.e. boolean representations):
===== NOT =====
1 - a[dims]
===== AND =====
a[dims] * b[dims]
===== OR =====
boolgt (a[dims] + b[dims], 0)
===== XOR =====
booleq (a[dims] + b[dims], 1)