Let $A(X, Y)$ be an arithmetical formula with (only) second-order variables $X, Y\subset \mathbb{N}$.
Assuming $(\forall X\subset \mathbb{N})(\exists Y\subset\mathbb{N})A(X, Y)$, there is a choice function $Z$ such that $(\forall X\subset \mathbb{N})A(X, Z(X))$.
Is there always a measurable such $Z$?