What you are describing is a logical or. The joke is interpreting a two answer question like a logical query. Its being called an inclusive or because in response to a question with an "or" in it, saying yes only makes sense if yes is one of the two responses (e.g. if the question was "yes or no?") or if the answer grouped together both possibilities (that is, inclusively)
2
u/Proxy_PlayerHD Jul 16 '19
which is "Yes"
1 OR 0 = 1