(How) Do journals keep kook papers from clogging up the review system? I have written two papers and submitted them to two different journals, and in both instances the process was as simple as registering an account and uploading the paper. While this system was quite convenient and in the spirit of open sharing of knowledge, I can't help but notice that any kook could stick their paper into the publication pipeline.

I looked at this answer, which tells me how the kook publication would be caught by the peer review process. However, this means that some time and resources have been allotted to finding the reviewers and the reviewers have at least looked at the paper, and maybe even taken the time to replicate the experiment.

So, my question is: what sort of safeguards, if any, are usually in place to keep kook papers from tying up resources?
Desk rejection by the editor..