A NAND gate is a digital logic gate that performs the operation of the logical conjunction NOT-AND. It produces an output that is false only if all its inputs are true. Here's the truth table for a NAND gate:
| Input A | Input B | Output | |---------|---------|--------| | 0 | 0 |_