Banks do not give a damn about who you are unless a Maga Man. At the urging of Biden’s administration many conservative companies and businesses have had their credit lines cut off. Banks care about your credit worthiness. If they deny a loan to an illegal alien it is because they do not think they will be payed back.
If you lend to an illegal alien the bank examiners will cite your institution. Furthermore, if you lend to an illegal and then you need to foreclose, the institution is then required to pay for an attorney to represent the illegal that you are foreclosing on. INSANITY !!!