Ain't is arguably not a word depending on your definition of language. Going by the logical argument that it is not the contraction of two words, it's inherently not a word in and of itself. Going by the practical argument that it is used consistently in everyday language, it could be considered a word.