hey hey, ive been using logic to record for a while, but I dont know anything about musical timing so i get really confused when setting up the metronome. often times ill play a song in my head but not be able to transfer it to the machine because i cant get the metronome or the bars to line up with the music I'm playing. would anyone have any idea how to help me.

where i should look?

right now it sucks bc i cant record anything other than in 4/4
This has more to do with your timing than the software you're using. When you're playing the songs without metronome, your timing doesn't apparently work and thus it seems that your music doesn't fit the bars. Next time you're playing or composing, put a metronome or a drum beat on and play your songs over it.