This image shows it best.
The memory is on the same package as the SoC. (It's not on the motherboard.)