Edit : As Siphor comments, the previous condition I wrote included the case that at least some three of the four points are on a line. So, we need to eliminate such situation.
Let $P_i(x_i,y_i)$. If there exist either $s\in\mathbb R$ or $t\in\mathbb R$ such that
$$\vec{P_1P_2}=s\vec{P_1P_3},\ \ \ \vec{P_1P_2}=t\vec{P_1P_4},$$
then at least some three of the four points are on a line.
Hence, if there don't exist such $(s,t)$ and either of the following three holds, then the four points are vertices of a parallelogram.
(1) $x_2-x_1=x_3-x_4\ \text{and}\ y_2-y_1=y_3-y_4$.
(2) $x_3-x_1=x_2-x_4\ \text{and}\ y_3-y_1=y_2-y_4$.
(3) $x_3-x_1=x_4-x_2\ \text{and}\ y_3-y_1=y_4-y_2$.
P.S. We can write
(1)$\iff \vec{P_1P_2}=\vec{P_4P_3}$.
(2)$\iff \vec{P_1P_3}=\vec{P_4P_2}$.
(3)$\iff \vec{P_1P_3}=\vec{P_2P_4}$.