Step 1: Use the given geometrical condition.
Since \(ABC\) is an isosceles triangle and
\[
\angle C=90^\circ,
\]
the equal sides are
\[
CA=CB
\]
Therefore,
\[
|z_1-z_3|=|z_2-z_3|
\]
Also, since the angle at \(C\) is \(90^\circ\), the two complex vectors
\[
z_1-z_3
\]
and
\[
z_2-z_3
\]
are perpendicular.
Step 2: Express perpendicular equal vectors in complex form.
If two vectors are perpendicular and have equal magnitude, then one is obtained from the other by multiplication by \(i\) or \(-i\).
So, we can write
\[
z_1-z_3=i(z_2-z_3)
\]
Squaring both sides,
\[
(z_1-z_3)^2=i^2(z_2-z_3)^2
\]
\[
(z_1-z_3)^2=-(z_2-z_3)^2
\]
Step 3: Use the relation for the hypotenuse.
Now,
\[
z_1-z_2=(z_1-z_3)+(z_3-z_2)
\]
Since
\[
z_3-z_2=-(z_2-z_3),
\]
and the two perpendicular equal vectors form a right isosceles triangle, the square of the hypotenuse vector gives
\[
(z_1-z_2)^2=2(z_1-z_3)(z_3-z_2)
\]
Step 4: Final conclusion.
Hence,
\[
\boxed{(z_1-z_2)^2=2(z_1-z_3)(z_3-z_2)}
\]