It can also happen that they are not that very close to one another and when you try to merge by distance, nothing happens. If that is the case, remember you can adjust the merge threshold on the Last Operation window. That would be the Merge Distance value:
