When we want to find the inverse of the matrix
$$\begin{bmatrix}a & b \\ c & d\end{bmatrix}$$
we're searching for a matrix
$$\begin{bmatrix}x & y \\ z & w\end{bmatrix}$$
such that
$$\begin{bmatrix}x & y \\ z & w\end{bmatrix}\begin{bmatrix}a & b \\ c & d\end{bmatrix} = \begin{bmatrix}1 & 0 \\ 0 & 1\end{bmatrix}\implies$$
$$ax + cy = 1 \\bx + dy = 0 \\az + cw = 0\\bz + dw = 1$$
Finding the inverse is the same as finding the solution for the $x,y$ system and $w,z$ system, which by the cramer's rule only have an unique solution iff
$$det \left(\begin{bmatrix}a & c \\ b & d\end{bmatrix}\right) \neq 0$$
which is the same as saying $$det \left(\begin{bmatrix}a & b \\ c & d\end{bmatrix}\right) \neq 0$$
So here we have the famous result that a matrix is invertible if its determinant is not $0$. But by cramer's rule we know that if the determinant is $0$, we can be in the situation where we could have multiple solutions for $x,y$ and $z,w$ which would imply that a matrix with determinant $0$ could have multiple inverses. So,shouldn't it be false that a matrix is invertible if and only if its determinant is not $0$?
No. Generally, you should not write a question implying you actually think you might have disproved an old and well known result without doing so quite explicitly-a bit more thought will always show you're mistaken. If your system has a solution, i.e. if your matrix has an inverse, then by multiplying on the right by any other matrix we see that the map $(x,y,z,w)\mapsto (ax+cy,bx+dy,az+cw,bz+dw)$ is surjective, so that the solution is automatically unique if it exists.