Physics geek here. Most of this has already been said above, but my way of wording it may be more useful for some people, I don't know. Either way, this is for the benefit of those people who persist in asking the question long after it has already been answered...
Time slows down (relative to an observer in a different frame of reference) at any relative speed, and it stops completely at light speed (again, from the POV of the observer - the traveller sees no slowing of time for themself, but sees the other person slow down/stop). So the first point is that the twin that went on the journey aged more slowly from the perspective of the "left behind" twin, and thus returned 40 years younger.
However, since it's entirely relative: from the POV of the travelling twin, the left-behind twin was the one that was moving, thus the age gap should be the exact opposite way around. How can they both be 40 years younger than the other? This is the apparent paradox.
The resolution of the paradox is that in order to return from the journey, the travelling twin has to turn around and come back, which is an acceleration. Special Relativity cannot cope with accelerations (it only deals with UNIFORM relative velocities), so the paradox isn't so much resolved as negated. In order to correctly describe the actual outcome of the scenario, General Relativity has to be used instead.
Oh, and in response to Unit Alpha...
Unit Alpha said:
...all of this, however well researched and thought out, is just a theory until it has been proved in a real life application.
The three main effects of motion at any velocity (though only apparent at massive speeds) according to Special Relativity, i.e. length contraction, time dilation and mass increase, have ALL been proven by real-life experiments, including the one mentioned in a post above with the atomic clocks on the planes. Gravity's effect on time (because gravity bends light's path, which slows down time) is also taken into account. In fact, if you want a real-life application, how about this? GPS satellites have to allow for the difference between the rate at which time passes in their orbit (where the earth's gravity is weaker) and the rate on the earth's surface (where the gravity is stronger).