Click on inputs. If both or one are on; The output generates a one. If both or one is off; the output generates a zero.