From PhilPapers forum Philosophy of Physical Science:

2011-03-09
Are the physically possible worlds the same as the logically possible worlds?
Reply to Kris Rhodes
Following Descartes mathematics (logic) determines which worlds are possible, (experimental) physics shows which of these possible worlds are real. In so far that mathematical physics equals mathematics all logical possible worlds are also physical possible and vice versa, under condition that no universe exists where the laws of logics are not valid.  About such universes nothing can ever be said as our brains are finite 'thinking engines'