historically, aint was used by baby or under 5 years old because they didnt know when they had to use "dont/doesnt/didnt and isnt/arent/amnot/wasnt/werent, however it was the informal vocabulary, but because it was the habitation, aint was recognized to be legality. and you can use it in the negative sentences.
e.g : "i am not crazy" is same with "I aint crazy"
"You dont know me" is same with You aint know me