Table 1: Truth table of basic logical NOR, NAND, XOR, OR, AND, 0, and 1.

NORNANDXORORAND01

0 1
001100001
010111001
100111001
110001101