This question is inspired by the post on quantifier complexity of continuity. We work with metric spaces M considered as two-sorted first-order structures (M,$\mathbb R$,d,+,⋅,<) where $d:M^2→\mathbb R$ is the metric, and +,⋅,< the usual operations and relations on $\mathbb R$.
As is well known, the classical definition of continuity in $\in$-language involves two quantifier alternations. On the other hand, the st-$\in$-language enables a definition of continuity of lower quantifier complexity as follows. Let $\forall^{in},\exists^{in}$ denote quantification over infinitesimals. A standard function $f$ is continuous at a standard point $c$ iff $(\forall^{in} \epsilon) (\exists^{in} \delta) f(c+\epsilon)=f(c)+\delta$. This has only one quantifier alternation.
For compactness, the difference seems to be more far-reaching. Let's stick with separable metric spaces $(M,d)$ for simplicity (this may not be necessary). Then $M$ is compact iff $(\forall x\in M) (\exists^{st} y\in M)(\exists^{in}\epsilon\in\mathbb R) d(x,y)=\epsilon$ (in words: "every point is infinitely close to a standard one"), where $\exists^{st}$ denotes quantification over standard elements. But there is apparently no definition of compactness in the $\in$-language that involves quantification over elements only (the classical definitions involve quantification over sequences or open covers, etc.). Can this be formally proved?
I should have mentioned also that, if the Heine-Borel theorem is satisfied for an ambient complete space including $M$, then such a definition of compactness does exist since one can formulate both closedness and boundedness while quantifying only over elements (even in this case, one can ask how complex the formula would have to be). This item requires more precise formalisation in terms of an appropriate structure.
Note. This question is formulated in a foundational framework referred to as "nonstandard axiomatic approach" in Joel David Hamkins' useful answer here. Such an approach is the only one that enables a study of the role of the axiom of choice in infinitesimal analysis in the spirit (though not the letter) of reverse mathematics, as outlined in this answer to the same question. This approach suggests that the real numbers possess resources undreamt of by Dedekind, which is usually a source of celebration in mathematics.