1 means that he is present, 0 means that he is not.
True means that they can open.
[tex]\begin{array}{cccccccccccc} \text{X} &&& \text{Y} &&& \text{Z} &&& \text{True} \\1 &&& 1 &&& 1&&& 1 \\ 1 &&& 1 &&& 0&&&1 \\ 0 &&& 1 &&& 1&&&0 \\ 1 &&& 0 &&& 1&&&1 \\ 0&&& 1 &&& 0&&&0 \\ 0 &&& 0 &&& 1&&&0 \\ 1 &&& 0 &&& 0&&&0 \\ 0 &&& 0 &&& 0&&&0 \\ \end{array}[/tex]