This basic logic gate is the combination of AND and NOT gate.
The Boolean expression of NAND gate is Y =
The truth table of a NAND gate is given as;