Let $\mathbf{M}$ be an integer square $2 \times 2$ block matrix $$ \mathbf{M} = \left( \begin{array}{cc} \mathbf{A} & \mathbf{B} \\ \mathbf{C} & \mathbf{D} \end{array} \right) , $$ where $\mathbf{A}$ and $\mathbf{D}$ are square matrices (not necessarily of the same size). Is there a way of testing if $\mathbf{M}$ is regular ($\det (\mathbf{M}) = \pm 1$) in terms of $\mathbf{A}$, $\mathbf{B}$, $\mathbf{C}$ and $\mathbf{D}$?

For example, is it known some expression of $\det (\mathbf{M})$ in terms of $\mathbf{A}$, $\mathbf{B}$, $\mathbf{C}$ and $\mathbf{D}$ without any extra assumption (such as some regularity or certain commutativity relations) on the blocks? And if you assume that $\mathbf{A}$ is an $1 \times 1$ matrix (i.e. $\mathbf{A} \in \mathbb{Z}$)?