The output of a NAND gate is equal to 1 only when one input is 0. The NAND gate is called a "NOT-AND" gate because it outputs the opposite of what an AND gate would output for the same inputs. In other words, if an AND gate would output 1 for a certain set of inputs, a NAND gate would output 0, and vice versa.