Starting from such a table:
\documentclass{article}
\begin{document}
\begin{table}
\begin{tabular}{|l|c|c|}
\hline
& Property 2 & Not property 2 \\
\hline
Property 1 & A & B \\
\hline
Not property 1 & C & D \\
\hline
\end{tabular}
\end{table}
\end{document}
Which gives this:
I would like to have a table where I have a multicell which covers A and B, so all the first row, and another multicell which covers A and C, so all the first column, like this:
The hard point here is that the cell A is shared between both X and Y, which is normal because it is a common property. So my problem is not about how to make multicolumn for the first nor multirow for the second, but how to make them overlap.
I though about making a Tikz figure instead in order to draw everything as I want, but considering that it is in essence a table, I wonder if it is possible to do it with the tabular environment, so I don't have to locate everything by hand in a figure.