Computes the truth value of x1 XOR x2 using binary.
Similar to https://docs.scipy.org/doc/numpy-1.15.0/reference/generated/numpy.logical_xor.html except with [1,0];
For example:
x1 = {1,0,1,0,0}
x2 = {0,1,1,0,1}
y = {1,1,0,0,1}
function xor input Integer x1[:]; input Integer x2[size(x1, 1)]; output Integer y[size(x1, 1)]; end xor;