Illegal to not put dads name on birth certificate?

Mikayla • Vegan momma to baby Asher👶🏻💚

The father is a drug addict and isn't doing anything to get better. I don't want him to be in our sons life if it continues like this. So is it illegal to not put his name on the birth certificate even though I know he's the father?