I think this is perfectly fine as long as foreign students are paying full non-resident tuition when at publicly-funded institutions. Private schools may do as they wish of course, but it's not a responsibility of US citizens to pick up the cost to educate foreign nationals.