Don't ever pigeonhole yourself into any idea/community/religion, especially if it hampers your living.
I understand a dislike for religion and am not the biggest fan myself, but if a religious group gives you a routine, a social outlet and in general a healthier lifestyle, don't let your distaste for its tenets stop you.
You dont have to believe in everything they say. Only take what you need, and not much more. I'd bet a lot of people use religion this way, maybe they also like the theology/mythology which makes it easier to stay. But its okay if church is nothing more than a support group to you.
I do not know much about christianity or islam. I would say that a more moderate religious group, where the members don't take their gods too seriously, should work better for you. Maybe find people your age, or people who have suffered in life in some way.
On a different note, have you explored any hindu religious group ? They can be very different from christian and islamic ones, but may be nice. I haven't been part of any in my life, but I have heard that ISKCON (aka Hare Krishnas) has a presence throughout the world. They follow the Bhagwad Gita and the Bhagwat Puran(they call it Srimad Bhagwatam). I am not intending to prolestyse here, but you mind find them interesting.
Best of luck