{* fetch node object by node-id *}
{def $mynode=fetch('content','node', hash('node_id',283))}
{def $mymatrix=$mynode.data_map.MATRIX_ATTRIBUTE_NAME_HERE.content.matrix}
{* loop every row in the nodes matrix *}
{foreach $mymatrix.rows.sequential as $matrixrow}
{*debugging*}
{*$matrixrow|attribute('show')*}
{* check if col1 and col2 are even *}
{if eq($matrixrow.columns.1, $matrixrow.columns.2)}
column 1+2 in row {$matrixrow.identifier} are equal!<br/>
{else}
column 1+2 in row {$matrixrow.identifier} are NOT equal!<br/>
{/if}
{/foreach}