I did study with other students and learned a lot from them. I'm still friends with a lot of people I met there. The stuff we were learning was often the source of interesting conversations. I'm sorry that didn't work out for you. I do know some of the undergraduate dorms are more isolating than others.
Also MIT is very research oriented -- a lot of faculty only tolerate undergrads because they can be put to work on research. That experience had a huge influence on what I did after graduating and how I approached what I was learning in class. Also by being in the lab I met lots of interesting people from outside the institute who visted for one reason or another.
but even state schools, you get out of it, proportional to what you put in. I'm not sure your exact association with the word "value" , but even basics like resume building are directly impacted by clubs you are a part of. I know many that received job offers explicitly because of their involvement in a robotics F1 or nasa affiliated competition