A NAND Gate has one output and three inputs. The output only turns off when all inputs are on. The output side always faces opposite from the player when placed. This can be useful for setting up hidden lever puzzles, as it takes all 3 levers to be activated for a Piston to retract. Like other Redstone gates, a NAND Gate can be placed on walls and ceilings.
0 + 0 + 0 = 1
1 + 0 + 0 = 1
1 + 1 + 0 = 1
1 + 1 + 1 = 0
(Note: 0's represent an INACTIVE redstone signal, 1's represent an ACTIVE redstone signal.)