When Does The Output Of A NAND Gate =1?

When Does The Output Of A NAND Gate =1?