Following this website, https://yutsumura.com/how-to-prove-a-matrix-is-nonsingular-in-10-seconds/:
Let $\bar{A}$ be the matrix whose $(i,j)$-entry is the $(i,j)$-entry of $A$ modulo $2$. That is
$\bar{A}=\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}$
Since $\det(A)$ is a polynomial of entries of $A$, we have
$$\det(A)=\det(\bar{A}) (\text{mod} \ 2)= 1$$
I cannot see how we get the equality $\det(A)=\det(\bar{A}) (\text{mod} \ 2)$ just because $\det(A)$ is a polynomial of entries of $A$.
That is because you have a matrix in $\mathcal M_n(\bf Z)$ and the canonical map \begin{align} \pi:\mathbf Z&\longrightarrow \mathbf Z/2\mathbf Z \\ n&\longmapsto n\bmod 2 \end{align} is a ring homomorphism, i.e. it is compatible with addition and multiplication.
Some details:
Let's use the general formula for an $n\times n$ determinant,denoting $\overline x$ the reduction of $x\bmod2$ (or any modulus):
$$\overline{\det(a_{ij})}=\sum_{\sigma\in\mathfrak S_n}\varepsilon(\sigma)\overline{a_{\sigma(1),1} a_{\sigma(2),2}\dotsm a_{\sigma(n),n}}=\sum_{\sigma\in\mathfrak S_n}\varepsilon(\sigma)\overline{a_{\sigma(1),1}}\:\overline{a_{\sigma(2),2}}\dotsm \overline{a_{\sigma(n),n}}=\det(\overline{a_{i,j}}).$$