the probability that the first digit is 1 is

the probability that the second one also is 1 is

since you can consider that one card is chosen a second or so after the first.

Since the probability is the same for the other 4 digits,

the probability of the two cards being the same is