This is not one of the five pillars:
A.) Anyone who claims to be Muslim but does not make a pilgrimage to Mecca cannot achieve salvation.
Explanation:
The five pillars of Islam are the basic tenets that all Muslims must follow if they are to be called true Muslims or they would not achieve salvation.
For the Mecca's pilgrimage it is believed that only those that are able to make the journey are in the compulsion of going for the journey and the others that are not are not held up for salvation.
It is a matter of one's own ability to go to Mecca and not a complete compulsion for all to go.