In the form of “every Tom, Dick and Harry”, the phrase means everyone and in the form of “any Tom, Dick, and Harry” , and “any Tom, Dick or Harry”, meaning anyone. It is used as a placeholder for multiple unspecified number of people without discrimination.
We are an elite student club; not every Tom, Dick, and Harry can join us.