ABC
0 0 0
1 0 HIGH-Z
1 1 1
0 1 HIGH-Z
function: C = !(!A && !B)