If these banks are 100% owned by Muslim people, they are considered private banks, from which taking loans is not permissible. However, you can deposit money in them without asking for profit, or considering the profit announced by the bank as your right. With these two coditions, you can take the given profit.