To quickly check for collinearity of three points $A$, $B$, and $C$, compute the components of $\vec{AB}$ and $\vec{BC}$.
If their respective components are proportional, i.e., $\frac{x_1}{x_2} = \frac{y_1}{y_2} = \frac{z_1}{z_2}$, the points are collinear.