Its like having 2 waveforms. When you correlate them you basically move them by each other 1 point at a time. If at every point it is the same your value equals 1 if none match your value = 0. Hence your correlation value is between 1 and 0.