People talk about hitting the wall on runs in the range of 16-24 miles, as if it is an unavoidable certainty that comes with running those long distances. While I have never run or raced a marathon, I have run quite a few 16-23 milers at a range of easy and near-maximal intensities, and I think that with proper training there is no need to "crash" during these runs, even without food or drink during (I take neither).
From my experience, there are several different "feelings" that might be interpreted as having "hit the wall": most commonly, a muscular failure accompanied by soreness, cramping, or even mild pain; or a "metabolic failure" accompanied by increased heart and respiratory rate as well as increasingly heavy legs. This second "wall" can usually be held off somewhat by slowing down. I imagine these are familiar to most readers.
In my experience both these aforementioned "walls" can be avoided by training properly (which almost certainly means different things for different peple, but in my experience meant ~4 months of doubles 5x weekly, an increase in weekly mileage from 45-60 historically to roughly 90-100mpw, VERY easy running 2-3x weekly for recovery, and - by circumstance, not intention - significantly decreased caloric intake before runs and in general).
When properly trained, I actually felt symptoms of the "metabolic shift" other posters allude to, but this was actually a feeling of lightness and a shift to faster paces even at the end of a 23 miler, almost as if I had "unlocked" some new and more efficient energy source. It sounds ridiculous, even to me after having experienced it and read relevant training/physiology, but it was the case week after week for me. My high-end speed capability was seemingly diminished (running 65 second/400m pace felt harder at mile 20 than mile 10, and running any faster was near impossible - not surprising!) but running near tempo or threshold pace (~5:20 or so) felt so much easier, almost effortless, while this pace would be difficult if not impossible at the beginning of the run. I found this to be amazing, that I could practically "PR" in tempo runs after having already run 18 miles. By which I mean running at around 5:15/mile for several miles at a lower perceived effort, and probably HR if I had worn a monitor, than if I had started at that pace when fresh. I am curious whether others have had this experience.