Many of the St A. holes can yield 400+ yd drives with a tail wind, and a lucky bounce doesn't hurt either.
My best at St. Andrews is 438 yds on the Par 5 5th hole. Leaving a Pitching wedge 2nd shot to the green. Note the very nice bounce.
438 yds on St. Andrews #5
But Cabo #5 is the hole for the record longest drives. Regularly drives of well over 400 yds off the path and the rocks. Even over 450 yds have been recorded there.
Good Luck
The Hakman