Most large American Universities are not part of the surrounding town or city. They are in effect their own municipalities.
Two examples: The University of Notre Dame is in Notre Dame, Indiana, which happens to be surrounded by South Bend, Indiana. Same with Stanford... which is technically in Stanford, California.