Chlorine is a highly electronegative element
A polar molecule has an uneven electron distribution
A non-polar molecule has an even electron distribution
In HCN the atoms have different electronegativity (the tendency to attract electrons) and so there will be an uneven electron distribution. The molecule is therefore polar