The problem with using one-way switches to activate CMOS ICs is that floating inputs wreak havoc on CMOS circuits via shoot-through current. Depending on available parts, one solution is to use pullup resistors. This method inverts the inputs of the logic gates while forcing the input to be either HIGH or LOW - no floating values. This schematic uses a NOR to simulate an AND (upper left), a NAND to simulate an OR (upper right), an AND to simulate a NOR (bottom left), and an OR to simulate a NAND (bottom right).