If you use the communist flag to hate, discriminate or/and be hateful against someone that is from one of the former USSR states, then it's probably xenophobic, but I don't think that just using it is racist. Maybe someone could explain it better than me but that's my opinion.