At output junction 140, both null signals from waveguides 132 and 138 are combined to generate a null output optical signal OUT set to a binary zero.If only one input signal, A or B, is a null signal while the other input signal, B or A, is a binary one, output signal OUT is set to a binary zero.