Let $A$ be diagonalizable $n\times n$, so $A=SDS^{-1}$ for some diagonal matrix $D$. This can be rewritten as $AS=SD$ or, if we consider $S=[v_1\;v_2\;\dots\;v_n]$ (where $v_i$ represents a column) and $D=\operatorname{diag}(d_1,d_2,\dots,d_n)$ (I hope the notation is clear),
$$
Av_i=d_iv_i
$$
Since $S$ is invertible, its columns form a linearly independent set. Moreover, we see that each column is an eigenvector for $A$. If an eigenvalue $\lambda$ appears $k$ times in the diagonal of $D$, we see that there are at least $k$ linearly independent eigenvectors relative to $\lambda$. On the other hand, the characteristic polynomial of $D$ is the same as the characteristic polynomial of $A$, so each eigenvalue must appear in $D$ exactly as many times as its algebraic multiplicity.
The eigenspace of $A$ relative to $\lambda$ is the subspace formed by the vectors $v$ such that $Av=\lambda v$. So we have proved that the dimension of the eigenspace (usually called the geometric multiplicity of the eigenvalue) is at least equal to the algebraic multiplicity.
Since the sum of the algebraic multiplicities of all eigenvalues is the size $n$ of the matrix $A$, we see that the geometric multiplicity of each eigenvalue must equal the algebraic multiplicity.
Thus this is a necessary condition for a matrix to be diagonalizable. It is also sufficient, because if it holds we can make a basis of $\mathbb{R}^n$ consisting of eigenvectors and we can use it for diagonalizing $A$.
In the case of your matrix, the geometric multiplicity of the eigenvalue $0$ is $1$, whereas the algebraic multiplicity is $2$.