Go to a beach and look for a hole in the shallow water. A hole with a 1-2 inch diameter is likely to be a Razor clam's hideout. Be sure that you in an area where a lot of people are not walking around as you will need to dig for these clams and you might look funny or attract a lot of attention while doing this.
Observe the hole you have identified, if it is way too narrow, widen it a bit.
Take a small amount of table salt and pour it into the hole after widening it.
Since Razor clams are highly sensitive to salinity, if one is inside the hole, it should come out immediately to escape the salt. You can easily grab it and put it inside your container.
Catch the clam and place it in the ice chest to keep the meaty shellfish fresh while you search for a few more. The key to clams is to make sure that they remain fresh. Thus, the more ice you use the better it will be.
Search for another Razor clam hole and keep repeating the procedure until you have collected the desired number of beach clams.
If this method doesn't work for you then you can identify the small holes after the tide goes out and start to dig for them using your small shovel. This is also an effective way to catch Razor clams although it might take a little more work then using the table salt. You can have a lot of fun with your friends and family as you catch clams from the beach.
The best time to start clam digging is early in the morning. Razor clams have been named so because of their sharp edged shells. So always wear thick rubber gloves when digging for them. Do not forget to check fishing rules with the Department of Fish and Wildlife, because most of the times there is a limit on how many clams you can dig at a time. Remember broken and damaged clams also count for your number so you should not discard broken clams, they can still be eaten, but cleaning them will be a bit tough.