The problem (as I am sure you are aware) with this (assuming
ad argumentum that it is true) is that it implies denying escape from radical Islam to the 1% (~420,000) of Afghans who are opposed to redical Islam, and currently stuck in a country where radical Islam is massively dominant.
US and EU immigration law currently (or at least until Trump started unilaterally dictating US law) treats applicants for migration as individuals. The details of what constitutes grounds to accept or deny such an application may be sensible or daft; But regardless, they are applied on a case by case basis. Nobody is denied entry solely because they are Afghan; And (contra
@Derec) that should remain true even if policy becomes to deny entry to radical Muslims, because 99% is less than 100%.