Yes - and the company should then pay the employee for the termination unrelated in any way to their performance on the job. Keep in mind, the better solution would be to have racism be actually illegal in 'murica, so the employer fires that employee after they explicitly break the law.