Why is a secure border an issue for so long?

Doesn't take a genius to know any country should have a secure border. So why has it been an issue that doesn't get solved for so long?