Combine X1 & X1 with !X1 & !X2 to get first hidden layer as result.
Then hidden layer with X1 OR X2 to get final result.