Answer. Yes, it is a form of discrimination. … (Under federal law, however, it is illegal for a landlord to discriminate against a tenant who has a felony conviction for drug use — but a landlord can discriminate against someone with a felony record for drug sale or manufacture.)