Mister Exam

Expression xAND(NOTx)ANDz

The teacher will be very surprised to see your correct solution 😉