In the case where $A$ is non-zero and symmetric, $Z$ always has zero as Lebesgue measure.
Since $A$ is symmetric, you can diagonalize it into an orthonormal basis, which is equivalent to say that it exists $a_i\in \mathbb{R}$ such that
$$ f(x)=\sum_{i=1}^n a_i|x_i|^2 $$
(with at least one $a_i\neq 0$ since $A$ is non-zero).
Then $$Z= \{ x ; \sum_{i=1}^n a_i|x_i|^2 =0 \} $$
which has a zero as Lebesgue measure.
To see that last point, without loss of generality, let us assume that $a_n=1$, then (with $\lambda_n$ the Lebesgue measure),
\begin{align*}
\lambda_n(Z) &= \int_{\mathbb{R}^n}1_{\sum_{i=1}^n a_i|x_i|^2 =0}(x) dx_1\dots d x_n \\
& = \int_{\mathbb{R}^{n-1}}\bigg(\underbrace{\int_{\mathbb{R}} 1_{x_n^2=-\sum_{i=1}^{n-1} a_i|x_i|^2}(x_1,\dots,x_{n-1},x_n) d x_n}_{=0}\bigg)dx_1\dots d x_{n-1} \\
&=0
\end{align*}