I'm reading Goldstein's Classical Mechanics and he defines a constraint on particles having radii $\mathbf{r}_i$ to be holonomic if it can be written as $f(\mathbf{r}_1, \mathbf{r}_2, \dots , t) = 0$. He then says that an example of a non-holonomic constraint would be particles constrained to the exterior of a sphere: $r^2 - a^2 \ge 0$.
However, this could be rewritten as $\mathbf{1}_{\left\{\mathbf{r}\mid \:|r|^2 < a^2\right\}}(\mathbf{r}) = 0$, where $\mathbf{1}$ denotes an indicator function. As such it seems to me that the given example is a holonomic constraint. What am I missing?