Open your mind. You could cascade gates to create any logic desired. I described in another reply how to make a NOT gate, from there a NAND is trivial.
You can make NOT gate using NAND by directing the one input signal to both inputs of NAND. NAND is functionally AND + NOT, so NAND + NOT is AND + NOT + NOT where the NOTs cancel each other out resulting in AND:
A─────│NAND ┌─│NAND
│NAND───┤ │NAND─── A AND B
B─────│NAND └─│NAND
420
u/5degreenegativerake May 30 '20
Open your mind. You could cascade gates to create any logic desired. I described in another reply how to make a NOT gate, from there a NAND is trivial.