I recently applied for a apartment and was rejected. The reason they gave me was stated in one word: criminal. I have a felony conviction almost 10 years old. Is this a form of discrimination?
Yes, it is a form of discrimination. But unfortunately, in all likelihood you have no legal protection against discrimination based on your criminal record.
Only certain kinds of discrimination, such as that based on race, religion, national origin, family status, sex, and disability are recognized as illegal. Many states and some localities have added others—such as source of income and military status—but convicted felons aren't on any state's list. (Under federal law, however, it is illegal for a landlord to discriminate against a tenant because of a felony conviction for drug use—but a landlord can discriminate against someone with a felony record for drug sale or manufacture.) Although it's often unfair to deny housing to someone based on an old old conviction, but there is no law against it.
In the future, anticipate that this information will come to the attention of prospective landlords—and employers, too. Deal with it before the landlord or employer sees it on your credit report or comes across it during some other check. Bring up the fact of the conviction yourself, during the application process, and do your best to convince the landlord that you have moved well beyond those days and will be a thoroughly law-abiding and stable tenant. If the conviction is old and your record is spotless since you got it, it will be harder for the landlord to reject you.