If \(A=\left[\begin{array}{ll}x & 1 \\ 1 & 0\end{array}\right]\) and \(A=A^{-1}\), then \(x=\ldots \ldots\)