Yes, the standard Pearson correlation applies here. What you have is referred to as a Point-biserial correlation. It's just a special case of the usual Pearson formulae. See here for more details:

http://en.wikipedia.org/wiki/Point-b...on_coefficient