Let $X$ be a scheme. Let $Y$ be a locally closed subset of $X$ and $U$ an open subset of $X$ such that $U \cap Y$ is non-empty and closed in $U$. I would like to deduce there is a closed point of $Y \cap U$.
What I have done: Let $z \in U \cap Y$ and take the affine open neighborhood $z \in \operatorname{Spec}A \subset U$. Then $\operatorname{Spec}A \cap Y$ is a closed subset of $\operatorname{Spec}A$, hence an affine scheme and it follows that there exists a closed point $z_0$ with respect to the topology of $\operatorname{Spec}A \cap Y$ . Now I am trying to prove that $\overline{ \{ z_0 \} }^{Y \cap U} = \{z_0\}$, but I seem to be stuck...