The diagram and the table above serve as guards in answering the above question.
X= 1 , Y= 0
Therefore Z = 1