A porch light (Q) must come on if it neither daylight (A) NOR after midnight (B)
A
B
Q
0
1
Q will be on if neither A nor B are on.