Answer: Yes, it is unconstitutional, because racism over all is bad. Not to say it is violating the Thirteenth and Fourteenth Amendments.
Explanation: This law is violating the Thirteenth and Fourteenth Amendments of the USA Constitution which was created for equal treatment under the law.