Let $ABCD$ be our parallelogram, $A$ the origin of our coordinate system. Then, the vectors $\overrightarrow{AB}=a=(a_x,a_y)$ and $\overrightarrow{AD}=b=(b_x,b_y)$ define the parallelogram.
Then, the vectors $a'=(-a_y,a_x)$ and $b'=(-b_y,b_x)$ are orthogonal to $a$ and $b$. There's no need to normalise them, but we need to make sure that they have the correct orientation ($\langle \cdot{,}\cdot\rangle$ is the scalar product, of course):
$$
a''=\operatorname{sign}(\langle a',b\rangle)\,a',\quad b''=\operatorname{sign}(\langle a,b'\rangle)\,b'
$$
Now, all $p$ satisfying
$$
0 \le \langle a'',p \rangle \le \langle a'',b \rangle \tag1
$$
lie in the area between the parallel line segments $AB$ and $CD$, and the $p$ satisfying
$$
0 \le \langle b'',p \rangle \le \langle a,b'' \rangle \tag2
$$
lie in the area between the line segments $AD$ and $BC$. Both (1) and (2) together are the criterion for "$p$ is inside the parallelogram". If your "inside" means "strictly inside" (not on the sides of the parallelogram), the inequalities in (1) and (2) have to be strict, naturally.