How important is taking a foreign language?

As usual, for top schools, you treat anything recommended as required. Note that they have plenty of qualified applicants to choose from. Many schools do require 2+ years of foreign languages. In many states and school districts, 2 years of foreign language is required for high school graduation.