NAND

The output Q of the NAND is only Lo, when all inputs are Hi, that is, if they are closed. If an input pin of this block is not connected, its status is automatically Hi.