Given the following three points
$$A(x_{1},y_{1})\\
B(x_{2},y_{2})\\
C(x_{3},y_{3})\\$$
and assuming that at least two of these given points are different, how can $z_{1}$, $z_{2}$ and $z_{3}$ be defined so that
$$A'(x_{1},y_{1},z_{1})\\
B'(x_{2},y_{2},z_{2})\\
C'(x_{3},y_{3},z_{3})\\$$
form an equilateral triangle?
It's easy to follow intuitively that such $z$ values always exist as long as at least two of the original points are not equal, but how could this be proven rigorously?
What you have is a system of $3$ (non-linear) equations: $$d(A',B')=d(A',C')=d(B',C')$$ where $d(\cdot,\cdot)$ is the usual Euclidean distance. This system has $3$ variables $z_1,z_2,z_3$, see if you can show that a solution exists.