What is the pH of a 1M solution of HCl?

pH= -log [H+]

= -log [1]

= 0