In the song, the main reason Dylan uses ain’t instead of isn’t and instead of them is to show that

In the song, the main reason Dylan uses ain’t instead of isn’t and instead of them is to show that he
O is not part of the lower class
O can use dialect
is not prejudiced
O does not understand grammar