Evaluates a logical expression with up to 4 input variable and outputs the result.
x
y
z
w
f(x,y,z,w)