Find $n\,\,0-1$ matrices $Y_i, i = 1,\dots,n$ with $n$ rows and $n^2$ columns such that:
$Y_iY_j' = \mathbf{1}_n, \forall i\ne j$
$Y_iY_i' = nI_n$
We can write this matrix equations as a single block matrix equation as following:
$XX' = A$,
where $A$ is a matrix with $n^2$ columns and $n^2$ rows and the elements in diagonal are n, other elements are $0$ or $1$ and $X$ is a $n^2\,\, 0-1$ matrix. In detail,
$ A = \begin{pmatrix} nI_n&\mathbf{1}_n& \dots &\mathbf{1}_n \\ \mathbf{1}_n & nI_n & \dots &\mathbf{1}_n \\ \vdots & \vdots & \ddots & \vdots\\ \mathbf{1}_n &\mathbf{1}_n & \dots & nI_n\end{pmatrix} $, $X = \begin{pmatrix} Y_1 \\Y_2\\ \dots \\ Y_n \end{pmatrix}$
This question is equal to find $n-1$ mutually orthogonal Latin squares for $n$, which is an open question.