# control::Xor

    sys::Obj
      sys::Virtual
        sys::Component
          control::Xor

`public class Xor` `[niagaraIcon="module://icons/x16/control/logic/xor.png"]`

Xor Exclusive Or logic object

if either input null output is null out = in1 xor in2

in1

  `public property bool in1`

  input 1

in2

  `public property bool in2`

  input 2

out

  `public property bool out [readonly]`

  output value

execute

  `public virtual override void execute()`

  Execute is called once every scan.