The condition you're looking for is in_array($nid, array(51, 52, 53))
(or you could use a bunch of logical ORs).
Putting it all together yields:
<?php if(in_array($nid, array(51, 52, 53))): ?>
<div class="band main-content">
<?php print render($page['content']); ?>
</div>
<?php else: ?>
<div class="band main-content">
<section class="layout">
<?php print render($page['content']); ?>
</section>
</div>
<?php endif; ?>
Also, I'm not sure what the end goal is here, but I would be wary about hard coding node IDs in a template. It's definitely not best practice.