Implement nand and nor predefined operators