@gollum,
Foreign students translate to more revenues for American colleges and universities. Their tuition is sometimes threefold to regular students tuition. Ivy League colleges certainly uphold their academic excellence, but any
educational institution is as successful as its students are. Yes, there is an element of party mentality in a number of colleges and good athletes not always meet the academic achievements since the athletic rivalry among colleges is more important.
Indeed, certain high schools have metal detectors, but that's not the norm and considering that you have 50 states that are as different as other countries, it's ignorant to assume that all of the United States is the same.
Schools in crime ridden communities have a much harder time to maintain a safe environment for students and teachers alike, a metal detector and/or any other safety measures are (unfortunately) needed.