In user642796's answer at Prove that $Y$ is Hausdorff iff $X$ is Hausdorff and $A$ is a closed subset of $X$, he writes "If $A \subseteq X$ is not closed, let $x \in \overline{A}\setminus A$. Show that the points $p(x,0),p(x,1)$ (which are distinct) cannot be separated in $Y$." But I do not see how to show that part - any assistance would be appreciated.
For context: the original problem statement. Let $X$ be a topological space and $A$ a subset of $X$. On $X\times\{0,1\}$ define the partition composed of the pairs $\{(a,0),(a,1)\}$ for $a\in A$, and of the singletons $\{(x,i)\}$ if $x\in X\setminus A$ and $i \in \{0,1\}$. Let $R$ be the equivalence relation defined by this partition, let $Y$ be the quotient space $[X \times \{0,1\}]/R$, and let $p:X \times \{0,1\} \to Y$ be the quotient map. Prove that $Y$ is Hausdorff if and only if $X$ is Hausdorff and $A$ a closed subset of $X$.