Can I be discriminated against discriminate due to my learning disability?

Question Details: I was fired from a job while in training because it was my first time working in the area of the plant. I was doing my job to the best of my ability, I was asking my trainer questions, keeping my work area clean, and offering help when I could. When they fired me they said that it was due to "my inability to learn" and that I "wasn't cleaning up my work area" and I then told her that I had been cleaning up my work area and that I was training all day. Then she said again "I cannot help that you have an inability to learn and I'm not here to babysit". Is that discrimination? Important Notice