I've checked both applications and although they're pretty much flexible when it comes to data analysis and management, I couldn't see anything related to their file compatibility. I believe that file structure is highly different on both formats and because of that you can't really import one into the other.
Check the help and documentation for LOGIC Pharma to see the export options that you have and then Tally's supported formats.