# Jaccard Index for Binary Data in R using dist function

I have a presence/absence table of 0s and 1s and I would like to cluster this data. I want to create a pairwise matrix using R's dist function which has a binary option. I have seen sources explain this is the Jaccard measure and some have called it the Sample Matching distance. Which is it? Also, the function is named dist so I assume it calculates a distance not similarity? Which is better for hierarchical clustering, distance or similarity?