Logic gate for integrated circuits (ICs), has first pair of switches activated alternately and connected to first node and output node by respective terminal, and second pair of switches to bring output node to potential of second node