If the speaker is on a boat, 'head' means 'toilet'.
He's referring to the fact that other ways of keeping alert mean that you have to go to the toilet a lot. If you drink a lot of coffee, you may need to rush to the toilet quite often. Caffeine-based drugs may also upset your stomach. He doesn't have this problem with Benzedrine.