There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR. AND | OR | XOR | NOT | NAND | NOR | XNOR. The AND gate is so named because, if 0 is called "false" and 1 is called "true," the gate acts in the same way as the logical "and" operator.