There is not much practical difference in the two sentences.
I typically say, "I'm American".
I would say "I'm an American" in a situation where I wanted to emphasize my nationality. The "an" adds a notion of pride - I'm American and proud of it.
Not a teacher, 53-year-old American.
Ö and thatís my opinion
Student or Learner