Only transverse waves can be polarised. Since an X-ray is a transverse wave, it can be polarised.